using FirstTea.Application.DTOs;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace FirstTea.Application.Interfaces
{
    public interface IOrderService
    {
    Task<OrderDto?> GetByIdAsync(Guid id);
        Task<IEnumerable<OrderDto>> GetAllAsync();
        Task CreateAsync(OrderDto dto);
        Task UpdateAsync(OrderDto dto);
    Task DeleteAsync(Guid id);
    }
}
